import numpy as np

a = np.array([
    [-1, 1, 2, 3],
    [-2, -1, 4, 5]
])

a1 = np.array([-1, 1, 2, 3])


def _sigmoid(in_data):

     1 / (1 + np.exp(-in_data))


print(_sigmoid(a))
print(_sigmoid(a1))
